package com.caimiao.miao.page.welcome;

import android.content.Context;

import com.caimiao.miao.bean.LocationInfo;
import com.caimiao.miao.bean.Response;
import com.caimiao.miao.bean.Device;
import com.caimiao.miao.interfaces.IBaseModel;
import com.caimiao.miao.interfaces.IBasePresenter;
import com.caimiao.miao.interfaces.IBaseActView;
import com.caimiao.miao.interfaces.ICallback;

import io.reactivex.Observable;

public interface IMainContact {
    interface View extends IBaseActView<Presenter> {
        void skipActivity();
    }

    interface Presenter extends IBasePresenter {

    }

    interface Model extends IBaseModel {
        void getLocation(Context context, ICallback<LocationInfo> callback);

        void setDeviceInfo(Context context, LocationInfo locInfo);

        boolean hasInit(Context context);

        Observable<Response> postDevice(Context context);

        void backup(Context context);
    }
}
